package com.ruoyi.insurance.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 索赔记录对象 claim_record
 * 
 * @author ruoyi
 * @date 2024-09-09
 */
public class ClaimRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long claimId;

    /** 合同主键 */
    @Excel(name = "合同主键")
    private Long contractId;

    /** 索赔日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "索赔日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date claimDate;

    /** 索赔原因 */
    @Excel(name = "索赔原因")
    private String claimReason;

    /** 索赔陈述 */
    @Excel(name = "索赔陈述")
    private String concreteClaimRecord;

    public void setClaimId(Long claimId) 
    {
        this.claimId = claimId;
    }

    public Long getClaimId() 
    {
        return claimId;
    }
    public void setContractId(Long contractId) 
    {
        this.contractId = contractId;
    }

    public Long getContractId() 
    {
        return contractId;
    }
    public void setClaimDate(Date claimDate) 
    {
        this.claimDate = claimDate;
    }

    public Date getClaimDate() 
    {
        return claimDate;
    }
    public void setClaimReason(String claimReason) 
    {
        this.claimReason = claimReason;
    }

    public String getClaimReason() 
    {
        return claimReason;
    }
    public void setConcreteClaimRecord(String concreteClaimRecord) 
    {
        this.concreteClaimRecord = concreteClaimRecord;
    }

    public String getConcreteClaimRecord() 
    {
        return concreteClaimRecord;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("claimId", getClaimId())
            .append("contractId", getContractId())
            .append("claimDate", getClaimDate())
            .append("claimReason", getClaimReason())
            .append("concreteClaimRecord", getConcreteClaimRecord())
            .toString();
    }
}
